package com.fengze.business.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.fengze.common.annotation.Excel;
import com.fengze.common.core.domain.BaseEntity;

/**
 * 合同履约计划对象 fz_performance_plan
 * 
 * @author lug
 * @date 2024-02-04
 */
public class PerformancePlan extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 履约时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "履约时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date performanceTime;

    /** 履约要素 */
    @Excel(name = "履约要素")
    private String performanceElements;

    /** 合同id */
    @Excel(name = "合同id")
    private Long contractId;

    /** 创建用户id */
    @Excel(name = "创建用户id")
    private Long userId;

    /** 创建部门id */
    @Excel(name = "创建部门id")
    private Long deptId;

    /** 金额 */
    @Excel(name = "金额")
    private BigDecimal amountMoney;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    /** 实际履约金额 */
    @Excel(name = "实际履约金额")
    private BigDecimal actualPerformanceAmount;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPerformanceTime(Date performanceTime) 
    {
        this.performanceTime = performanceTime;
    }

    public Date getPerformanceTime() 
    {
        return performanceTime;
    }
    public void setPerformanceElements(String performanceElements) 
    {
        this.performanceElements = performanceElements;
    }

    public String getPerformanceElements() 
    {
        return performanceElements;
    }
    public void setContractId(Long contractId) 
    {
        this.contractId = contractId;
    }

    public Long getContractId() 
    {
        return contractId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setAmountMoney(BigDecimal amountMoney) 
    {
        this.amountMoney = amountMoney;
    }

    public BigDecimal getAmountMoney() 
    {
        return amountMoney;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setActualPerformanceAmount(BigDecimal actualPerformanceAmount) 
    {
        this.actualPerformanceAmount = actualPerformanceAmount;
    }

    public BigDecimal getActualPerformanceAmount() 
    {
        return actualPerformanceAmount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("performanceTime", getPerformanceTime())
            .append("performanceElements", getPerformanceElements())
            .append("contractId", getContractId())
            .append("remark", getRemark())
            .append("userId", getUserId())
            .append("deptId", getDeptId())
            .append("amountMoney", getAmountMoney())
            .append("status", getStatus())
            .append("actualPerformanceAmount", getActualPerformanceAmount())
            .toString();
    }
}
